﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div style="width: 300px">
            <h3 style="text-align: center">在线新闻发布系统</h3>
        </div>
        <div style="width:300px">
            <table style="width: 100%;">
                <tr>
                    <td style="width:100px;text-align:right"><asp:Label ID="Label1" runat="server" Text="新闻来源："></asp:Label></td>
                    <td style="width:200px;text-align:left"><asp:DropDownList ID="DropDownList1" runat="server">
                <asp:ListItem>交换机</asp:ListItem>
                <asp:ListItem>好家伙</asp:ListItem>
            </asp:DropDownList></td>
                </tr>
                <tr>
                    <td style="width:100px;text-align:right"><asp:Label ID="Label2" runat="server" Text="新闻内容："></asp:Label></td>
                    <td style="width:200px;text-align:left">
                        <asp:TextBox ID="TextBox1" runat="server" Width="200px" Height="70px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width:100px;text-align:right"> <asp:Label ID="Label3" runat="server" Text="发布时间："></asp:Label></td>
                    <td style="width:200px;text-align:left">
                        <asp:Label ID="Label4" runat="server" Text="Label"></asp:Label></td>
                </tr>
            </table>
        </div>
        <div style="text-align:center;width:300px">
            <asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click1" />
            <asp:Button ID="Button2" runat="server" Text="重置" OnClick="Button2_Click" />
        </div>
        <asp:Label ID="Label5" runat="server" Text=""></asp:Label>
    </form>
</body>
</html>
